package com.sunlg.smarthome.contract;

import com.sunlg.smarthome.base.IBasePresenter;
import com.sunlg.smarthome.base.IBaseView;
import com.sunlg.smarthome.data.entity.Pump;

import java.util.List;

/**
 * Created by sunlg on 2017/5/27.
 */

public interface PumpContract {
    interface View extends IBaseView {
        void showNoneDeviceText();
        void hideNoneDeviceText();
        void showPumpList(List<Pump> deviceList);
    }

    interface Presenter extends IBasePresenter<View> {
        void deletePump(int deviceId);
        void loadAllPump();
    }
}
